package com.weixin.exception;

import lombok.Getter;

/**
 * @author lc
 * @email 389125111@qq.com
 * @create 2018-03-12 14:56
 */
@Getter
public class BusinessException extends RuntimeException {

    private Integer code;

    public BusinessException() {
        super();
    }

    public BusinessException(Integer code, String msg) {
        super(msg);
        this.code = code;
    }

}
